<?php  defined('BASEPATH') OR exit('No direct script access allowed');

$route['block/admin/block(:any)?'] = 'admin_block$1';

$route['block/(:any)?'] = 'block/index/$1';